package com.leo.result;

/**
 * 通用返回基类
 *
 * @author liusl
 * @date 2019/3/7-9:46
 */
public abstract class AbstractResultSupport {

    private int code;
    private String desc;


    protected void buildResult(int code, String desc){};

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
